package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDate;

/**
 * 排班记录表
 *
 * @author code-generate
 * @date 2021-12-28
 */
@Data
@DbTable(tableName = "t_schedule_record")
public class ScheduleRecord extends BaseEntity {
        /**
     * 日期
     */
    @DbTableField(columnName = "c_date", dbType = DbTypeEnum.DATE)
    public LocalDate date ;

    /**
     * 对象标识
     */
    @DbTableField(columnName = "c_obj_id", dbType = DbTypeEnum.INTEGER)
    public Integer objId ;

    /**
     * 对象类型
     */
    @DbTableField(columnName = "c_obj_type", dbType = DbTypeEnum.INTEGER)
    public Integer objType ;

    /**
     * 对象名称
     */
    @DbTableField(columnName = "c_obj_name", dbType = DbTypeEnum.VARCHAR)
    public String objName ;

    /**
     * 片区标识
     */
    @DbTableField(columnName = "c_extent_id", dbType = DbTypeEnum.INTEGER)
    public Integer extentId ;

    /**
     * 片区名称
     */
    @DbTableField(columnName = "c_extent_name", dbType = DbTypeEnum.VARCHAR)
    public String extentName ;

    /**
     * 班次标识 t_dingtalk_duty.c_id
     */
    @DbTableField(columnName = "c_shift_id", dbType = DbTypeEnum.INTEGER)
    public Integer shiftId ;

    /**
     * 任务标识
     */
    @DbTableField(columnName = "c_task_id", dbType = DbTypeEnum.INTEGER)
    public Integer taskId ;

    /**
     * 任务名称
     */
    @DbTableField(columnName = "c_task_name", dbType = DbTypeEnum.VARCHAR)
    public String taskName ;

    /**
     * 任务内容
     */
    @DbTableField(columnName = "c_task_content", dbType = DbTypeEnum.VARCHAR)
    public String taskContent ;


}
